package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 积分记录表
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_integral")
@TableAlias("integral")
@ApiModel(value="BusIntegral对象", description="积分记录表")
public class BusIntegral extends AbstractEntity {

private static final long serialVersionUID=1L;

    @TableId(value = "integralId", type = IdType.ASSIGN_ID)
    private String integralId;

    @ApiModelProperty(value = "积分值")
    private Integer integralNum;

    @ApiModelProperty(value = "积分类型(1会员卡2兑换)")
    private Integer integralType;

    private String createDate;

}
